package org.loneranger.p1_get_bean.bean;

public class MyRabbit {

    private String name;

    private Integer age;

    public void tiao() {
        System.out.println("兔子跳起来（名字：" + name + "，年龄：" + age + "）");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
